import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: () => import("../views/index.vue")
  },
  {
    path: '/plant',
    component: () => import("../views/areaPlant分离.vue")
  },
  {
    path: "/plantin",
    component: () => import("../views/plantingHarvest.vue")
  },
  {
    path: "/crop",
    component: () => import("../views/cropAreasProportion.vue")
  },
  {
    path: "/tota",
    component: () => import("../views/TotalArea.vue")
  },
  {
    path: "/trend",
    component: () => import("../views/Trend.vue")
  },
  {
    path: "/cover",
    component: () => import('../views/CropCoverage.vue')

  },
  {
    path: "/index",
    component: () => import('../views/index.vue')

  }



]

const router = new VueRouter({
  routes
})

export default router
